@echo off
setlocal

REM 获取当前目录
set "sourceDir=%cd%"

REM 定义目标目录
set "targetDir1=C:\Users\kle_bz"
set "targetDesktop1=C:\Users\Public\Desktop"
set "targetDesktop2=C:\Users\Administrator\Desktop"
set "targetDesktop3=D:\Users\Administrator\Desktop"

REM 复制kle_bz文件夹到C:\Users\
xcopy /E /I /Y "%sourceDir%\kle_bz" "%targetDir1%" 2>nul

REM 检查并创建目标桌面目录（如果不存在则忽略错误）
if not exist "%targetDesktop1%" mkdir "%targetDesktop1%" 2>nul
if not exist "%targetDesktop2%" mkdir "%targetDesktop2%" 2>nul
if not exist "%targetDesktop3%" mkdir "%targetDesktop3%" 2>nul

REM 复制科乐尔教学网.url到C:\Users\kle_bz\
copy "%sourceDir%\科乐尔教学网.url" "%targetDesktop1%\" 2>nul

REM 复制科乐尔教学网.url到C:\Users\Administrator\Desktop\
copy "%sourceDir%\科乐尔教学网.url" "%targetDesktop2%\" 2>nul

REM 复制科乐尔教学网.url到D:\Users\Administrator\Desktop\
copy "%sourceDir%\科乐尔教学网.url" "%targetDesktop3%\" 2>nul

echo 所有操作已完成。
REM pause